package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @Author WEN
 * @Date 2023/10/10 0010
 **/
@Data
@ApiModel("工单催单对象")
public class OrderReminderVo {
    @NotNull(message = "工单ID为空")
    @NotEmpty(message = "工单ID不能为空")
    @Size(min = 1, message = "工单ID至少要传一项")
    @ApiModelProperty(value = "工单ID集合", required = true)
    private List<Long> workIds;

    @NotBlank(message = "催单内容不能为空")
    @ApiModelProperty(value = "催单内容", required = true)
    private String content;

    @NotNull(message = "提醒人员不能为空，至少选择一项提醒人员")
    @Size(min = 1, message = "提醒人员不能为空，至少选择一项提醒人员")
    @ApiModelProperty(value = "提醒人员类型：1-工单客服，2-服务商负责人，3-工程师，注：可多选", required = true)
    private List<Integer> remindEmpType;
}
